<!DOCTYPE html>
<html>
    <head>
        <?php include 'plantilles/plantillacap.php'; ?>
        <script type='text/javascript'>

            $(document).ready(function() {
	
                var date = new Date();
                var d = date.getDate();
                var m = date.getMonth();
                var y = date.getFullYear();
		
                $('#calendar').fullCalendar({
                    editable: true,
                    events: [
                        {
                            title: 'All Day Event',
                            start: new Date(y, m, 1)
                        },
                        {
                            title: 'Long Event',
                            start: new Date(y, m, d-5),
                            end: new Date(y, m, d-2)
                        },
                        {
                            id: 999,
                            title: 'Repeating Event',
                            start: new Date(y, m, d-3, 16, 0),
                            allDay: false
                        },
                        {
                            id: 999,
                            title: 'Repeating Event',
                            start: new Date(y, m, d+4, 16, 0),
                            allDay: false
                        },
                        {
                            title: 'Meeting',
                            start: new Date(y, m, d, 10, 30),
                            allDay: false
                        },
                        {
                            title: 'Lunch',
                            start: new Date(y, m, d, 12, 0),
                            end: new Date(y, m, d, 14, 0),
                            allDay: false
                        },
                        {
                            title: 'Birthday Party',
                            start: new Date(y, m, d+1, 19, 0),
                            end: new Date(y, m, d+1, 22, 30),
                            allDay: false
                        },
                        {
                            title: 'Click for Google',
                            start: new Date(y, m, 28),
                            end: new Date(y, m, 29),
                            url: 'http://google.com/'
                        }
                    ]
                });
		
            });

        </script>

    </head>
    <body>
        <?php include 'plantilles/plantilla.php'; ?>
        <?php include 'plantilles/plantillac1.php'; ?>
        <h3>Projectes</h3>
        <ul class="enl">
            <li>
                <a target="_BLANK"  href="http://www.puntsoft.com">
                    ASIX 1 M02 Bases de Dades
                </a>
            </li>
            <li>
                <a target="_BLANK"  href="http://www.puntsoft.com">
                    ASIX 1 M03 Programació Bàsica
                </a>
            </li>
            <li>
                <a target="_BLANK"  href="http://www.puntsoft.com">
                    ASIX 2 M08 Serveis de xarxa i Internet 
                </a>
            </li>
        </ul>
        <?php include 'plantilles/plantillac1p.php'; ?>
        <?php include 'plantilles/plantillac3.php'; ?>
        <h3>Tasques</h3>
        <a target="_BLANK"  href="http://www.puntsoft.com">
            ASIX 1 M03 Programació Bàsica
        </a>
        
        <div id='calendar'></div>
        <table>
            <tr>
                <th>Seq</th>
                <th>Descripció</th>
                <th>Responsable</th>
                <th>Hores</th>
                <th>Data Inici</th>
                <th>Data Fi</th>
                <th>DF</th>
            </tr>
            <tr>
                <td>Seq</td>
                <td>Descripció</td>
                <td>Responsable</td>
                <td>Hores</td>
                <td>Data Inici</td>
                <td>Data Fi</td>
                <td>DF</td>
            </tr>
            <tr>
                <td>Seq</td>
                <td>Descripció</td>
                <td>Responsable</td>
                <td>Hores</td>
                <td>Data Inici</td>
                <td>Data Fi</td>
                <td>DF</td>
            </tr>
            <tr>
                <td>Seq</td>
                <td>Descripció</td>
                <td>Responsable</td>
                <td>Hores</td>
                <td>Data Inici</td>
                <td>Data Fi</td>
                <td>DF</td>
            </tr>
            <tr>
                <td>Seq</td>
                <td>Descripció</td>
                <td>Responsable</td>
                <td>Hores</td>
                <td>Data Inici</td>
                <td>Data Fi</td>
                <td>DF</td>
            </tr>
        </table>
        <?php include 'plantilles/plantillac3p.php'; ?>
        <?php include 'plantilles/plantillac2.php'; ?>
        <h3>DRETA</h3>
        <?php include 'plantilles/plantillac2p.php'; ?>
        <?php include 'plantilles/plantillap.php'; ?>
    </body>
</html>
